package com.ruoyi.walmart.mapper.shipments;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.walmart.domain.shipments.Shipment;
import com.ruoyi.walmart.domain.shipments.ShipmentItem;
import com.ruoyi.walmart.domain.shipments.ShipmentLabel;
import com.ruoyi.walmart.domain.shipments.ShipmentStock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface ShipmentStockMapper extends BaseMapper<ShipmentStock> {

    void batchInsertsShipmentStock(@Param("list") List<ShipmentStock> batchInsertList);

    void updateStockFirstLegBatchById(@Param("list") List<ShipmentStock> updateList);

    String getLocalSkuByItemSku(@Param("sku") String sku);
}
